package com.cbj.db_work.service;

import com.cbj.db_work.entity.Player;
import com.cbj.db_work.entity.PlayerData;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cbj.db_work.entity.vo.PlayDataVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cbj
 * @since 2021-07-01
 */
public interface PlayerDataService extends IService<PlayerData> {

    boolean saveData(PlayDataVo playDataVo);

    List<Integer> getData(String id);

    Map<String,List> rank(String factor);
}
